package com.cleaningcloud.cld.domain;

import java.math.BigDecimal;
import java.util.Date;

import com.cleaningcloud.common.core.web.domain.BaseEntity;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.EqualsAndHashCode;
import com.cleaningcloud.common.core.annotation.Excel;

/**
 * 保险理赔明细对象 cld_insurance_details
 * 
 * @author cleaningcloud
 * @date 2024-10-23
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class CldInsuranceDetails extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 保险明细ID */
    private Long insuranceDetailsId;

    /** 保险ID */
    @Excel(name = "保险ID")
    private Long insuranceId;

    /** 员工ID */
    @Excel(name = "员工ID")
    private Long staffId;

    /** 员工保险状态(1已报案2已出险3已结案4已撤案) */
    @Excel(name = "员工保险状态(1已报案2已出险3已结案4已撤案)")
    private Long staffInsuranceStatus;

    /** 发票金额 */
    @Excel(name = "发票金额")
    private BigDecimal invoiceAmount;

    /** 描述详情 */
    @Excel(name = "描述详情")
    private String describe;

    /** 是否提交资料 */
    @Excel(name = "是否提交资料")
    private String isData;

    /** 理赔金 */
    @Excel(name = "理赔金")
    private BigDecimal claimsMoney;

    /** 补助金 */
    @Excel(name = "补助金")
    private BigDecimal subsidesMoney;

    /** 上传照片组 */
    @Excel(name = "上传照片组")
    private String imgPics;

    /** 撤案原因 */
    @Excel(name = "撤案原因")
    private String withdrawReason;

    /** 事故时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "事故时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date dangerTime;

    /** 结案时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "结案时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date caseTime;

    /** 撤案时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "撤案时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date dismissTime;

    /** 撤案人 */
    @Excel(name = "撤案人")
    private String dismissPersonName;

    /** 是否失效(0否1是) */
    @Excel(name = "是否失效(0否1是)")
    private Long flag;


}
